package com.yanqu.road.entity.autodata.hotpotjump.config;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.autodata.AutoActivityConfigObject;

import java.sql.ResultSet;
import java.sql.SQLException;

@FieldTypeAnnotation(tableName = "t_s_activity_hotpotjump_level")
public class HotpotJumpLevelConfig extends AutoActivityConfigObject {
    @FieldTypeAnnotation(select = true, orderASC = true, isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", isIndex = true)
    private int id;
    @FieldTypeAnnotation(desc = "")
    private int level;
    @FieldTypeAnnotation(desc = "")
    private int type;
    @FieldTypeAnnotation(desc = "")
    private int hpIncrease;
    @FieldTypeAnnotation(desc = "")
    private int atkIncrease;
    @FieldTypeAnnotation(desc = "")
    private int exp;

//    public HotpotJumpLevelConfig(ResultSet rs) throws SQLException {
//        this.activityId = rs.getInt("activityId");
//        this.id = rs.getInt("id");
//        this.level = rs.getInt("level");
//        this.type = rs.getInt("type");
//        this.hpIncrease = rs.getInt("hpIncrease");
//        this.atkIncrease = rs.getInt("atkIncrease");
//        this.exp = rs.getInt("exp");
//    }

    public int getActivityId() {
        return activityId;
    }

    public int getId() {
        return id;
    }

    public int getType() {
        return type;
    }

    public int getLevel() {
        return level;
    }

    public int getHpIncrease() {
        return hpIncrease;
    }

    public int getAtkIncrease() {
        return atkIncrease;
    }

    public int getExp() {
        return exp;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setHpIncrease(int hpIncrease) {
        this.hpIncrease = hpIncrease;
    }

    public void setAtkIncrease(int atkIncrease) {
        this.atkIncrease = atkIncrease;
    }

    public void setExp(int exp) {
        this.exp = exp;
    }
}